import com.edu.bean.User;
import com.edu.dao.UserDao;
import com.edu.dao.impl.UserDaoImpl;
import com.edu.service.UserService;
import com.edu.service.impl.UserServiceImpl;

public class test {

    public static void main(String[] args) {
        UserDao ud= new UserDaoImpl();
        UserService us=new UserServiceImpl();
//        int num=ud.selectByUserName("111111");
     User user =us.userLogin("111111","11");
        System.out.println(user);
    }
}
